<template>
  <div class="no_data">
    <div class="image_box">
      <img src="@/assets/images/nodata.png" class="img" alt="">
    </div>
    <div class="no_data_title">{{ title }}</div>
  </div>
</template>
  <script>
export default {
  name: "NoData",
  props: {
    src: {
      type: String,
      default: "",
    },
    title: {
      type: String,
      default: "暂无数据",
    },
  },
  data() {
    return {};
  },
  methods: {},
};
</script>
  <style lang="less" scoped>
.no_data {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top:30px;
  .image_box {
    width: 208px;
    height: 152px;
    .img {
      width: 100%;
      height: 100%;
    }
  }
  .no_data_title {
    font-size: 14px;
    font-weight: 400;
    color: rgba(153, 153, 153, 1);
    margin-top: 24px;
  }
}
</style>